﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Stack
{
    class Program
    {
        static void Main(string[] args)
        {
            Stack stack = new Stack();
            stack.Push(4);
            stack.Push(8);
            stack.Push(9);
            stack.Push(10);
            stack.Push(2);
            stack.Push(5);
            stack.Push(3);
            stack.Display();

            stack.Sort();
                       
        }
    }
}
